Method ExecuteAtomicAsync(Func<Task>)
Execute multiple operations atomically (all-or-nothing).
If no transaction is active, creates one automatically.
Ensures atomicity like EF SaveChanges().
Task ExecuteAtomicAsync(Func<Task> operations)
Execute multiple operations atomically (all-or-nothing).
If no transaction is active, creates one automatically.
Ensures atomicity like EF SaveChanges().
Task ExecuteAtomicAsync(Func<Task> operations)